-
Home
-
Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE
-
3.0.3
-
Code
-
Classes
- Block_Conditions
Total Complexity |
72 |
Dependencies |
2 |
Dependents |
0 |
Total lines |
373 |
Lines of code |
189 |
Logical lines of code |
116 |
Comment lines |
121 |
Methods |
15 |
Properties |
1 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
evaluate_condition() |
B |
45 |
25 |
34 |
should_add_hide_css_class() |
A |
45 |
10 |
42 |
render_blocks() |
S |
59 |
8 |
13 |
evaluate_condition_collection() |
S |
55 |
7 |
22 |
get_hide_css_condition() |
S |
60 |
6 |
13 |
has_user_roles() |
S |
64 |
3 |
10 |
init() |
S |
69 |
2 |
6 |
add_attributes_to_blocks() |
S |
65 |
2 |
9 |
has_author() |
S |
65 |
2 |
9 |
instance() |
S |
70 |
2 |
7 |
is_type() |
S |
75 |
1 |
4 |
has_category() |
S |
65 |
1 |
10 |
has_stripe_product() |
S |
76 |
1 |
4 |
__clone() |
S |
78 |
1 |
3 |
__wakeup() |
S |
78 |
1 |
3 |